

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <link type="text/css" rel="stylesheet" href="${createLinkTo(dir:'css/csslxh',file:'lxh.css')}">
    <title>Show Menuinfo</title>
</head>

<style>
	.tableGray td { height:26px } 
</style>

<body style="margin:0; overflow:auto">

<table width="100%" height="23" border="0" cellpadding="0" cellspacing="0" background="${createLinkTo(dir:'imagesmain',file:'grayListBg.gif')}">
  <tr>       
	<td width="50%" style="padding-top:2px;padding-left:10px;padding-right:15px" nowrap>
		<img src="${createLinkTo(dir:'imageslxh',file:'post.gif')}">
		菜单详细信息
	</td>
    <td align="right" style="padding-top:1px;padding-right:20px">
    	<g:if test="${flag != 'leaf'}">
    		<g:link action="create" params="[pId:menuinfoInstance.id]"><font color="#cc0000">增加子菜单</font></g:link>&nbsp;<font color="#cc0000">|</font>
    	</g:if>
    	<g:link action="edit" id="${ menuinfoInstance.id }"><font color="#cc0000">修改菜单</font></g:link>&nbsp;<font color="#cc0000">|</font>
    	<g:link action="delete" id="${ menuinfoInstance.id }" onclick="return confirm('真的要删除吗?');"><font color="#cc0000">删除菜单</font></g:link>
    </td>	
  </tr>  
</table>

<g:if test="${flash.message}">
	<div class="message">${flash.message}</div>
</g:if>


        	<table align="center" class="tableGray" cellpadding="0" cellspacing="1" style="margin-top:5px;">

                
                        <tr>
                            <td width="40%" align="right" bgcolor="#f6f6f6">ID号:</td>
                            
                            <td align="left"><input type="text" value="${menuinfoInstance.id}" class="textccc" class="textccc" disabled></td>
                            
                        </tr>
                    
                        <tr>
                            <td width="40%" align="right" bgcolor="#f6f6f6">菜单名称:</td>
                            
                            <td align="left"><input type="text" value="${menuinfoInstance.menuname}" class="textccc" disabled></td>
                            
                        </tr>
                    
                        <tr>
                            <td width="40%" align="right" bgcolor="#f6f6f6">功能链接:</td>
                            
                            <td align="left"><input type="text" value="${menuinfoInstance.url}" class="textccc" disabled></td>
                            
                        </tr>
                    
                        <tr>
                            <td width="40%" align="right" bgcolor="#f6f6f6">是否叶子:</td>
                            
                            <td align="left"><input type="text" value="${menuinfoInstance.isleaf}" class="textccc" disabled></td>
                            
                        </tr>
                    
                        <tr>
                            <td width="40%" align="right" bgcolor="#f6f6f6">是否停用:</td>
                            
                            <td align="left"><input type="text" value="${menuinfoInstance.isstop}" class="textccc" disabled></td>
                            
                        </tr>
                    
                        <tr>
                            <td width="40%" align="right" bgcolor="#f6f6f6">父级菜单:</td>
                            
                            <td align="left"><g:link controller="menuinfo" action="show" id="${menuinfoInstance?.pmenu?.id}">${menuinfoInstance?.pmenu}</g:link></td>
                            
                        </tr>
                    
                        <tr>
                            <td width="40%" align="right" bgcolor="#f6f6f6">子菜单列表:</td>
                            
                            <td>
                                <ul style="padding-top:12px">
                                <g:each var="c" in="${menuinfoInstance.cmenus}">
                                    <li><g:link controller="menuinfo" action="show" id="${c.id}">${c}</g:link></li>
                                </g:each>
                                </ul>
                            </td>
                            
                        </tr>
                    
                        <tr>
                            <td width="40%" align="right" bgcolor="#f6f6f6">排序序号:</td>
                            
                            <td align="left"><input type="text" value="${menuinfoInstance.ordernum}" class="textccc" disabled></td>
                            
                        </tr>
                    

    <tr>
    	<td align="center" colspan="2" style="height:30">
    		<input type="button" value="<g:message code='lxh.btn.back'/>" class="btnGray" onclick="history.back()">
    	</td>
    </tr>
</table>

        
</body>

</html>
